package ioc03;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Author：汤小洋
 * Date：2023-12-13 13:36
 * Description：<描述>
 */
public class Test {
    public static void main(String[] args) {
        ApplicationContext ac = new ClassPathXmlApplicationContext("ioc03/spring.xml");

        SpringBean springBean = (SpringBean) ac.getBean("springBean");
        System.out.println(springBean);
    }
}
